home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / Text / Show / Less / less-252 / NEWS < prev    next >
Text File  |  1994-11-16  |  7KB  |  206 lines

  1.  
  2.     Major changes between "less" versions 237 and 252
  3.  
  4. * Changes in line-editing keys:
  5.   The literal key is now ^V or ^A rather than \ (backslash).
  6.   Filename completion commands (TAB and ^L) are disabled 
  7.   when typing a search pattern.
  8.  
  9. * Line-editing command keys can be redefined using lesskey.
  10.  
  11. * Lesskey with no input file defaults to $HOME/.lesskey
  12.   rather than standard input.
  13.  
  14. * New option -V displays version number of less.
  15.  
  16. * New option -V displays version number of lesskey.
  17.  
  18. * Help file less.hlp is now installed by default in /usr/local/share 
  19.   rather than /usr/local/lib.
  20.  
  21.  
  22. ======================================================================
  23.  
  24.  
  25.     Major changes between "less" versions 170 and 237
  26.  
  27. * By popular demand, text which matches the current search pattern
  28.   is highlighted.  New -F flag disables this feature.
  29.  
  30. * Henry Spencer's regexp.c is now included, for systems which do not
  31.   have a regular expression library.
  32.   regexp.c is Copyright (c) 1986 by University of Toronto.
  33.  
  34. * New line-editing keys, including command history (arrow keys) and 
  35.   filename completion (TAB).
  36.  
  37. * Input preprocessor allows modification of input files (e.g. uncompress)
  38.   via LESSOPEN/LESSCLOSE environment variables.
  39.  
  40. * New -X flag disables sending termcap "ti" and "te" (initialize and
  41.   deinitialize) strings to the terminal. 
  42.  
  43. * Changing -i from within less now correctly affects a subsequent
  44.   repeated search.  
  45.  
  46. * Searching for underlined or overstruck text now works when the -u
  47.   flag is in effect, rather than the -i flag.
  48.  
  49. * Use setlocale (LANG and LC_CTYPE environment variables) to determine
  50.   the character set if LESSCHARSET/LESSCHARDEF are not set.
  51.  
  52. * The default format for displaying binary characters is now standout
  53.   (reverse video) rather than blinking.  This can still be changed by
  54.   setting the LESSBINFMT environment variable.
  55.  
  56. * Use autoconf installation technology.
  57.  
  58. * Ported to MS-DOS.
  59.  
  60.         ********************************
  61.           Things that may surprise you
  62.         ********************************
  63.  
  64. * When you enter text at the bottom of the screen (search string, 
  65.   filename, etc.), some keys act different than previously.  
  66.   Specifically, \ (backslash), ESC, TAB, BACKTAB, and control-L 
  67.   now have line editing functions.
  68.  
  69. * Some previous unofficial versions of less were able to display
  70.   compressed files.  The new LESSOPEN/LESSCLOSE feature now provides
  71.   this functionality in a different way.
  72.  
  73. * Some previous unofficial versions of less provided a -Z flag to 
  74.   set the number of lines of text to retain between full screen scrolls.
  75.   The -z-n flag (that is, -z with a negative number) provides this 
  76.   functionality.
  77.  
  78.  
  79. ======================================================================
  80.  
  81.  
  82.     Major changes between "less" versions 123 and 170
  83.  
  84. * New option -j allows target lines to be positioned anywhere on screen.
  85.  
  86. * New option -S truncates displayed line at the screen width,
  87.   rather than wrapping onto the next line.
  88.  
  89. * New option -y limits amount of forward scroll.
  90.  
  91. * New option -T specifies a "tags" file.
  92.  
  93. * Non-printable, non-control characters are displayed in octal.
  94.   Such characters, as well as control characters, are displayed 
  95.   in blinking mode.
  96.  
  97. * New command -+ sets an option to its default.
  98. * New command -- sets an option to the opposite of its default.
  99.  
  100. * Lesskey file may have a string appended to a key's action,
  101.   which acts as though typed in after the command.
  102.  
  103. * New commands ESC-^F and ESC-^B match arbitrary types of brackets.
  104.  
  105. * New command F monitors a growing file (like "tail -f").
  106.  
  107. * New command | pipes a section of the input file into a shell command.
  108.  
  109. * New command :x directly jumps to a file in the command line list.
  110.  
  111. * Search commands have been enhanced and reorganized:
  112.     n    Repeat search, same direction.
  113.     N    Repeat search, opposite direction.
  114.     ESC-/    Search forward thru file boundaries
  115.     ESC-?    Search backward thru file boundaries
  116.     ESC-n    Repeat search thru file boundaries, same direction.
  117.     ESC-N    Repeat search thru file boundaries, opposite direction.
  118.   Special character * causes search to search thru file boundaries.
  119.   Special character @ causes search to begin at start/end of file list.
  120.  
  121. * Examining a new file adds it to the command line list.
  122.   A list of files, or an expression which matches more than one file,
  123.   may be examined; all of them are added to the command line list.
  124.  
  125. * Environment variables LESSCHARSET and LESSCHARDEF can define
  126.   a non-ASCII character set.
  127.  
  128. * Partial support for MSDOS, including options -R for repainting screen
  129.   on quit, -v/-V to select video mode, and -W to change window size.
  130.  
  131.  
  132. ======================================================================
  133.  
  134.  
  135.     Major changes between "less" versions 97 and 123
  136.  
  137. * New option (-N) causes line numbers to be displayed in the
  138.   text of the file (like vi "set nu").
  139.  
  140. * New option (-?) prints help message immediately.
  141.  
  142. * New option (-r) displays "raw" control characters, without
  143.   mapping them to ^X notation.
  144.  
  145. * New option (-f) forces less to open non-regular files
  146.   (directories, etc).
  147.  
  148. * New option (-k) can be used to specify lesskey files by name.
  149.  
  150. * New option (-y) can be used to set a forward scroll limit
  151.   (like -h sets a backward scroll limit).
  152.  
  153. * File marks (set by the m command) are now preserved when a new
  154.   file is edited.  The ' command can thus be used to switch files.
  155.  
  156. * New command ESC-/ searches all files (on the command line) 
  157.   for a pattern.
  158.  
  159. * New command ESC-n repeats previous search, spanning files.
  160.  
  161. * The N command has been changed to repeat the previous search
  162.   in the reverse direction.  The old N command is still available 
  163.   via :n.
  164.  
  165. * New command ESC-N repeats previous search in the reverse
  166.   direction and spanning files.
  167.  
  168. * 8 bit characters are now supported.  A new option (-g) can be 
  169.   used to strip off the eighth bit (the previous behavior).
  170.  
  171. * Options which take a following string (like -t) may now
  172.   optionally have a space between the option letter and the string.
  173.  
  174. * Six new commands { } ( ) [ and ] can be used to match
  175.   brackets of specific types, similar to vi % command.
  176.  
  177. * New commands z and w move forward/backward one window and
  178.   simultaneously set the window size.
  179.  
  180. * Prompt string expansion now has %L for line number of the last
  181.   line in the file, and %E for the name of the editor.
  182.   Also, % escapes which refer to a line (b=bottom, t=top, etc.)
  183.   can use j for the jump target line.
  184.  
  185. * New environment variable LESSEDIT can be used to tailor the
  186.   command string passed to the editor by the v command.
  187.  
  188. * Examining a file which was previously examined will return
  189.   to the same position in the file.
  190.  
  191. * A "%" is expanded to the current filename and a "#" to the 
  192.   previous filename, in both shell commands and the E command.
  193.   (Previously % worked only in shell commands and # worked 
  194.   only in the E command.)
  195.  
  196. * New command ":ta" is equivalent to "-t".
  197.  
  198. * New command "s" is equivalent to "-l".
  199.  
  200. * The - command may be followed by "+X" to revert to the default
  201.   for option X, or "-X" to get the opposite of the default.
  202.  
  203. * Lesskey files may now include characters after the action as
  204.   extra input to be parsed after the action; for example:
  205.   "toggle-option X" to toggle a specific option X.
  206.